import datetime
import random


class Waiter:
    # 属性
    __id = round(random.random() * 10000)
    name = "waiter01"
    gender = True
    __birthday = datetime.date.today()
    telephone = "110"

    # 构造函数
    def __init__(self, name, gender, telephone):
        self.name = name
        self.gender = gender
        self.telephone = telephone

    # 方法
    def showInfo(self):
        print(self.__id, self.name, self.__birthday, self.telephone)
